function MyUserReducer(state = { users: [] }, action) {
    switch (action.type) {
        case "INITUSERS":
            state.users = action.payload
            return { ...state }
        default:
            return state
    }
}

export default MyUserReducer